<input type="hidden" name="{% PropertyFieldName < context %}" value="{%if Value%}on{%else%}off{%endif%}" />
<input type="checkbox" {%if Value%} checked="true"{%endif%}{%if ReadOnly%} onclick="javascript:return false;"{%else%} onclick="javascript:$(this).prev().val(this.checked?&quot;on&quot;:&quot;off&quot;);"{%endif%}/>
